/*aeG8EJRQiScDI1N8XP5bhuWzlbf5XBsxVLBXMZ8W/jP6DqW/eB0TO7FPvrTI8i5b*/
/*
 * @Author: xiahui 
 * @PageInfo: 取消
 * @Date: 2019-03-05 19:30:17 
 * @Last Modified by: xiahui
 * @Last Modified time: 2019-03-06 19:15:39
 */
import { UISTATUS, AREA } from '../../constance';
import { buttonControl } from '../viewControl/buttonControl';
import { showCancelDialog } from '../../../../../scmpub/scmpub/pub/tool/messageUtil';

export default function(props) {
	showCancelDialog({
		beSureBtnClick: () => {
			this.setState({
				status: UISTATUS.browse
			});
			props.editTable.cancelEdit(AREA.listTableId);
			buttonControl.call(this, props, UISTATUS.browse);
		}
	});
}

/*aeG8EJRQiScDI1N8XP5bhuWzlbf5XBsxVLBXMZ8W/jP6DqW/eB0TO7FPvrTI8i5b*/